﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using Wicresoft.UnifyShow.Business;
using Wicresoft.UnifyShow.BusinessImpl;

namespace UnifyShowTest
{
    class TestDevice
    {
        [Fact]
        public void TestGetServerBySiteIDBSIDWithAlert()
        {
            IDevice d = new Device();
            var list = d.GetServerBySiteIDBSIDWithAlert(1, 31);
            var x = 1;
        }

        [Fact]
        public void TestAdd()
        {
            DeviceModel d = new DeviceModel();
            d.SiteId = 1;
            d.BusinessSystemId = 1;
            d.Object = "Hello";
            d.CreateTime = DateTime.Now;
            IDevice d1 = new Device();
            var list = d1.Add(d);
            var x = 1;
        }

    }
}
